package com.hjx.movie.persistence.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (IvyMenu)实体类
 *
 * @author makejava
 * @since 2020-12-22 14:41:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class IvyMenu implements Serializable {
    private static final long serialVersionUID = 190503553682388484L;
    @TableId
    private Long menuId;
    //菜单名称
    private String menuName;
    //前端路由路由地址
    private String path;
    //图标
    private String menuIcon;
    //父级ID
    private Long menuPid;
    //所有父节点的ID
    private String menuPids;
    //菜单排序
    private Integer sort;
    //是否是叶子节点 false不是叶子 true是叶子
    private Boolean isLeaf;
    //层级
    private Integer level;
    //菜单状态 0不可用 1正常 true
    private Boolean status;
    //菜单类型 R根 M 菜单 B 按钮 A超链接 T只作为tab标签显示
    private String menuType;
    //路由唯一键
    private String routerKey;
    //前端权限
    private String perm;
    //菜单所对应的组件
    private String component;
    //组件路径
    private String componentUrl;
    //重定向地址
    private String redirect;
}
